package com.demo.rabbitmq.config;

public enum DeadRoutingKeyEnum {

    // 业务处理routingKey
    DEAD_BUSINESS_QUEUE_ROUTING_KEY("dead_business_queue_routing_key"),
    // 死信队列routingKey
    DEAD_QUEUE_ROUTING_KEY("dead_queue_routing_key"),
    ;

    private final String routingKeyName;

    DeadRoutingKeyEnum(String routingKeyName) {
        this.routingKeyName = routingKeyName;
    }

    public String getRoutingKeyName() {
        return routingKeyName;
    }
}
